<%--
  Created by IntelliJ IDEA.
  User: r
  Date: 2021/4/3
  Time: 11:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html;charset=UTF-8;charset=UTF-8"  pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>xxx登录页</title>
</head>
<body>
<c:if test="${!empty error}">
    <font color="red"><c:out value="${error}"></c:out></font>
</c:if>
<c:if test="${!empty success}">
    <font color="red"><c:out value="${success}"></c:out></font>
</c:if>
<form action="<c:url value="/loginCheck.html"></c:url>" method="post">
    用户ID：<input type="text" name="userId" placeholder="请输入用户id"><br>
    密 码：<input type="password" name="password" placeholder="请输入密码"><br>
    <input type="submit" value="登录">
    <input type="reset" value="重置">
    <input type="button" onclick="window.location.href='register.jsp';" value="注册">
</form>
</body>
</html>
